﻿﻿<%@ page language="java" import="com.ztesoft.core.spring.context.CustomPropertyConfigurer" %>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>草稿箱</title>
<link rel="stylesheet" href="${ctx}/common/jslibs/fish/css/fish-desktop-compact.css" />
	<!--[if lt IE 9]>
		<script src="${ctx}/common/jslibs/fish/js/html5shiv.js"></script>
		<script src="${ctx}/common/jslibs/fish/js/respond.js"></script>
	<![endif]-->
<style>
body{border-left:1px solid #d6d6d6;}
label{white-space:nowrap;}
.datetimepicker table{font-size:12px;}

.custom2-ui-jqgrid .ui-jqgrid-view .ui-jqgrid-hdiv .ui-jqgrid-htable th label{font-weight:100}
.custom2-ui-jqgrid .ui-jqgrid-view .ui-jqgrid-hdiv .ui-jqgrid-htable th.ui-th-column{background-color:#cbdbe9;height:30px;border-right:1px solid #b9cee1;font-size:12px;font-weight:100;color:#2c5072;}
.custom2-ui-jqgrid .ui-jqgrid-view .ui-jqgrid-hdiv{border-color:#b9cee1;background-color:#cbdbe9;}
.custom2-ui-jqgrid .ui-jqgrid-view .ui-jqgrid-bdiv{border-top:1px solid #b9cee1;border-left:1px solid #b9cee1;overflow:visible;}
.custom2-ui-jqgrid .ui-jqgrid-view .ui-jqgrid-bdiv .ui-jqgrid-btable tr.jqgrow td{height:30px;border-color:#d9e3ed;font-size:12px;font-weight:100;white-space:normal;overflow:visible;padding:0 6px;}
.custom2-ui-jqgrid .ui-jqgrid-view .ui-jqgrid-bdiv .ui-jqgrid-btable tr.jqgrow td label{font-weight:100}
#searchForm .form-group{margin-bottom:10px;}
.custom2-ui-jqgrid td,th{font-size:12px;font-weight:100}
.custom2-ui-jqgrid td a:hover,td a:focus{ text-decoration: none}
#plan_jqGrid #plan_jqGrid_pager{padding:8px 0;border-top:0;height:auto;}
#dbLinkId[readonly]{background-color:#fff}
#nodeId[readonly]{background-color:#fff}
.ui-alert-affix{width:30%;margin-left:-15%;}
#plan_jqGrid{word-wrap:break-word}
</style>
</head>
<body>
	<div class="container-fluid">
	<form id="searchForm" action="#" method="post" autocomplete="off">
		<div class="form-horizontal" style="margin-top:10px;padding-top:15px;border-bottom:1px solid #e3e3e3;background-color:#f9f9f9">
				<div class="row">
					<div class="col-xs-3 form-group">
						<label for="" class="col-xs-4 control-label">所属系统</label>
						<div class="col-xs-8 input-group">
							<input type="text" class="form-control" name="nodeId"  id="nodeId"  vId="" readOnly="true" />
							<span class="input-group-addon">
								<span class="glyphicon glyphicon-remove"></span>
							</span>
						</div>
					</div>
					<div class="col-xs-3 form-group">
						<label for="" class="col-xs-4 control-label">数据库</label>
						<div class="col-xs-8 input-group">
							<input type="text" class="form-control" name="dbLinkId"  id="dbLinkId"  vId="" readOnly="true" />
							<span class="input-group-addon">
								<span class="glyphicon glyphicon-remove"></span>
							</span>
						</div>
					</div>
					<div class="col-xs-3 form-group">
						<label for="" class="col-xs-4 control-label">表名</label>
						<div class="col-xs-8 input-group">
							<input type="text" class="form-control" name="tableName"  id="tableName" />
						</div>
					</div>
					<div class="col-xs-3 form-group">
						<label for="" class="col-xs-4 control-label"></label>
					</div>
				</div>
				<div class="row">
					<div class="col-xs-3 form-group">
						<label for="" class="col-xs-4 control-label">计划名称</label>
						<div class="col-xs-8 input-group">
							<input type="text" class="form-control" name="planName"  id="planName" />
						</div>
					</div>
					<div class="col-xs-3 form-group">
						<label for="" class="col-xs-4 control-label">数据类型</label>
						<div class="col-xs-8 input-group">
							<input type="text" class="form-control" name="sourceType"  id="sourceType" />
						</div>
					</div>
					<div class="col-xs-3 form-group">
						<label for="" class="col-xs-4 control-label">执行方式</label>
						<div class="col-xs-8 input-group">
							<input class="form-control" name="execType" id="execType"/>
						</div>
					</div>
					<div class="col-xs-3 ">
						<div class="col-xs-offset-2">
							<button type="button" id="searchBtn" class="btn btn-primary col-xs-5"><span class="glyphicon glyphicon-search"></span>&nbsp;&nbsp;&nbsp;查找</button>
							&nbsp;&nbsp;&nbsp;
							<button type="reset" id="resetBtn" class="btn btn-default ">重置</button>
						</div>
					</div>
				</div>
		</div>
	</form>

		<div id="plan_jqGrid" class="custom2-ui-jqgrid"></div>
	</div>
	<!--==============所属系统下拉树================-->
	<div id="nodeId_commbox_tree" class="dropdown-menu" style="position:absolute;display:none">
		<div id="nodeId_tree" class="ztree"></div>
	</div>
	<!--=============数据库下拉树================-->
	<div id="dbLinkId_commbox_tree" class="dropdown-menu" style="position:absolute;display:none">
		<div id="dbLinkId_tree" class="ztree"></div>
	</div>
	<script>
	//创建计划跳转URL，菜单名称，菜单Id
		var addplanURL = '<%=CustomPropertyConfigurer.getContextProperty("addplanURL")%>';
		var addplanName = '<%=CustomPropertyConfigurer.getContextProperty("addplanName")%>';
		var addplanId = <%=CustomPropertyConfigurer.getContextProperty("addplanId")%>;
	</script>
	<script src="${ctx}/common/jslibs/fish/js/fish-desktop-all.min.js"></script>
	<script src="${ctx}/common/jslibs/fish/js/jquery.ztree.all-3.5.js"></script>
	<script src="${ctx}/planmanage/draft/js/draft.js"></script>
</body>
</html>
